package com.huawang.mdesign.model.service.util.reqif;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
import lombok.Getter;
import lombok.Setter;

/**
 * This class defines the primitive String data type.
 *
 * @author xdl
 * @since 2023-04-04
 */
@Getter
@Setter
@XStreamAlias(ReqIFConstants.DATATYPE_DEFINITION_STRING)
public class DatatypeDefinitionString extends AbstractDatatypeDefinitionSimple {

    /**
     * The maximum permissible string length.
     */
    @XStreamAlias(ReqIFConstants.MAX_LENGTH)
    @XStreamAsAttribute
    private Integer maxLength;
}
